package org.example.market_spring.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class SaleTicket {
    private String  id;

    private String customerName;
    private String customerTelphone;
    private String customerAddress;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;
    private String principal;
    private String status;
    private String goodsId;
    //供应商编号
    private String gyId;
    //销售价格
    private Double cbPrice;
    private String goodsName;
    //供应商
    private String gyShang;
    //采购数量
    private int cgNum;
}
